import { createStore } from 'vuex'
import permission from './modules/async-router'
import getters from './getters'

export default createStore({
  state: {
    testName: 'hello'
  },
  mutations: {
    setTestName(state, name) {
      state.testName = name
    }
  },
  actions: {
  },
  getters,
  modules: {
    permission,
  },
})
